<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
<div id="app21">
    <!--v-for 也可以接受整数 会显示一个范围-->
    <span v-for="n in 10">{{ n }} </span>
</div>

<script type="text/javascript">
    var vm = new Vue({
        el: '#app21',
    })
</script>
</body>
</html>